:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

.card {
  padding: 2em;
}

#app {
  position: fixed;
  /* background: #000; */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
}
.el-dialog {
  margin-top: 50vh !important;
  transform: translateY(-50%);
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}
/* 这里开始是 日期选择框样式 调整 */
.el-picker-panel {
  background: rgba(15, 52, 74, 0.4) !important;
  backdrop-filter: blur(10px);
}
.el-date-range-picker__header {
  color: rgba(166, 233, 255, 1);
}
.in-range>.el-date-table-cell {
  background-color: rgba(19, 100, 139, .3) !important;
}
.el-date-range-picker__content.is-left {
  border-right: 1px solid rgba(255, 255, 255, .3) !important;
}
.el-range__close-icon {
  margin-left: 3px !important;
  width: 7px !important;
  height: 7px !important;
  background: url(./views/Emergency/assets/date-close.png) no-repeat top center / 100% !important;
  svg {
    display: none !important;
  }
}
.el-date-picker {
  background: transparent !important;
}

.el-picker-panel__body-wrapper {
  background: transparent !important;
}

.el-picker-panel__body {
  background: transparent !important;
}
.el-date-table__row {
  border-top: none;
}
.el-popper__arrow::before {
  background: rgba(15, 52, 74, 1) !important;
  border-color: rgba(255, 255, 255, .3) !important;
}
.date-popper-class {
  background: rgba(15, 52, 74, 0.4) !important;
  border-color: rgba(255, 255, 255, .3) !important;
}
/* 当月日期样式 */
.el-date-table__row .available {
  color: rgba(255, 255, 255, 0.9);
}
/* 标题样式 */
.el-date-picker__header-label {
  color: #fff !important;
}
.el-picker-panel__icon-btn {
  color: #fff !important;
}
.el-picker-panel__icon-btn:hover {
  border-color: transparent !important;
}
.el-picker-panel__icon-btn:focus {
  outline: none !important;
}
.el-date-table>tbody>tr:first-child {
  background: linear-gradient(270deg, rgba(11, 183, 255, 0) 0%, rgba(11, 183, 255, 0.2992) 50%, rgba(11, 183, 255, 0) 100%) !important;
  color: #A6E9FF !important;
}
.el-date-table>tbody>tr:first-child>th {
  color: #A6E9FF !important;
  border-bottom: none !important;
}
